package com.yuanchu.store.dto;

import com.yuanchu.common.validator.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-03-03 0:55
 */
@Data
public class EditGradeParamsDto {
    @NotNull(message = "gradeId不能为空", groups = {ValidationGroups.Insert.class, ValidationGroups.Update.class})
    private Integer gradeId;
    private UserGradeDto form;
}
